Construct a list
Example (Step 3)
listrecord->nextrecord = new recdata;
if (listrecord->nextrecord == NULL)
cout <<"3: unable to allocate storage space";
listrecord = listrecord->nextrecord;
listrecord->number = 53;
listrecord->code = "This is the third record";
listrecord->nextrecord = NULL;
struct recdata{
        int number;
        AnsiString  code;
        recdata *nextrecord;
};